package com.mengtian_tech.tju.dataquery.api.util;

import org.springframework.context.ApplicationContext;

public class SpringUtil {
	private static ApplicationContext ctx;
	
	public static void setContext(ApplicationContext c) {
		ctx = c ;
		System.out.println("set spring context to util end="+c);
	}
	
	public static ApplicationContext getContext() {
		return ctx;
	}
}
